package cn.wolfcode.edu.service;

import cn.wolfcode.edu.domain.Department;
import cn.wolfcode.edu.query.QueryObject;
import cn.wolfcode.edu.util.PageResult;

import java.util.List;

/**
 * Created by abb on 2018-07-08.
 */
public interface IDepartmentService {
    void deleteByPrimaryKey(Long id);

    void insert(Department entity);

    Department selectByPrimaryKey(Long id);

    List<Department> selectAll();

    void updateByPrimaryKey(Department entity);
    PageResult query(QueryObject qo);
    void close(Long id);


}
